class CreateArtistDescriptions < ActiveRecord::Migration
  def self.up
    create_table :artist_descriptions do |t|
      t.references :artist
      t.text :biography
      t.text :personal_statement
      t.string :language

      t.timestamps
    end
    
    ArtistDescription.create :artist => Artist.find(:first), :biography => "Me llamo Joe.", :personal_statement => "Hola amigos!", :language => "Spanish"
    ArtistDescription.create :artist => Artist.find_by_name('Rose'), :biography => "Rose owns a shop in Yakima where she sells merchandise she makes herself in addition to the merchandise of her business partners.", :language => "English"
  end

  def self.down
    drop_table :artist_descriptions
  end
end
